package cn.tedu.logistics.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.tedu.logistics.bean.ParameterSet;
import cn.tedu.logistics.dao.ParameterSetDao;

@Controller
@RequestMapping("/systemSet")
public class ParameterSetController {
	@Autowired
	private ParameterSetDao parameterSetDao;
	
	@RequestMapping("updateParam")
	public String update(ParameterSet ps) {
		parameterSetDao.updateById(ps);
		return "redirect:parameterQuery";
	}
	
}
